package com.wr.vehicle.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wr.common.annotation.Excel;
import com.wr.common.core.domain.BaseEntity;

/**
 * 车辆审核对象 tb_check
 * 
 * @author art8173
 * @date 2024-11-24
 */
public class Check extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 审核ID */
    @Excel(name = "审核ID")
    private Long registerId;

    /** 人员类别 */
    @Excel(name = "人员类别")
    private String userType;

    /** 部门 */
    @Excel(name = "部门")
    private Long deptId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String nickName;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String userName;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String licensePlate;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phonenumber;

    /** 车辆图片 */
    private String vehicleImage;

    /** 车架号 */
    private String frameNumber;

    /** 购入日期 */
    private Date purchaseDate;

    /** 电瓶生产日期 */
    private Date batteryProductionDate;

    /** 电瓶有效期 */
    private Date batteryExpiryDate;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String status;

        // 新增的属性
    private String deptName;

    // Getter 和 Setter 方法
    public String getDeptName() {
        return deptName;
    }

    public void setRegisterId(Long registerId) 
    {
        this.registerId = registerId;
    }

    public Long getRegisterId() 
    {
        return registerId;
    }
    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setLicensePlate(String licensePlate) 
    {
        this.licensePlate = licensePlate;
    }

    public String getLicensePlate() 
    {
        return licensePlate;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setVehicleImage(String vehicleImage) 
    {
        this.vehicleImage = vehicleImage;
    }

    public String getVehicleImage() 
    {
        return vehicleImage;
    }
    public void setFrameNumber(String frameNumber) 
    {
        this.frameNumber = frameNumber;
    }

    public String getFrameNumber() 
    {
        return frameNumber;
    }
    public void setPurchaseDate(Date purchaseDate) 
    {
        this.purchaseDate = purchaseDate;
    }

    public Date getPurchaseDate() 
    {
        return purchaseDate;
    }
    public void setBatteryProductionDate(Date batteryProductionDate) 
    {
        this.batteryProductionDate = batteryProductionDate;
    }

    public Date getBatteryProductionDate() 
    {
        return batteryProductionDate;
    }
    public void setBatteryExpiryDate(Date batteryExpiryDate) 
    {
        this.batteryExpiryDate = batteryExpiryDate;
    }

    public Date getBatteryExpiryDate() 
    {
        return batteryExpiryDate;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("registerId", getRegisterId())
            .append("userType", getUserType())
            .append("deptId", getDeptId())
            .append("nickName", getNickName())
            .append("userName", getUserName())
            .append("licensePlate", getLicensePlate())
            .append("phonenumber", getPhonenumber())
            .append("vehicleImage", getVehicleImage())
            .append("frameNumber", getFrameNumber())
            .append("purchaseDate", getPurchaseDate())
            .append("batteryProductionDate", getBatteryProductionDate())
            .append("batteryExpiryDate", getBatteryExpiryDate())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
